﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ChangePass.ascx.cs" Inherits="NLLSite.Administrator.UserControl.ChangePass" %>
<asp:Panel ID="Panel1" runat="server">
           <div class="box box-100">
    <div class="boxin">
        <div class="header">
            <h3>
                Thêm mới tài khoản</h3>
        </div>
        <div style="padding: 18px;">
            <!--<form class="basic" action="" method="post" enctype="multipart/form-data"><!-- Default basic forms -->
            <div class="inner-form"> <table>
                <tr>
                    <td align="right">
                        Mật khẩu cũ:
                    </td>
                    <td class="td">
                        <asp:TextBox ID="txtCurrentpass" runat="server" Width="170px" TextMode="Password"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtCurrentpass"
                            ErrorMessage="(*)"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        Mật khẩu mới:
                    </td>
                    <td class="td">
                        <asp:TextBox ID="txtNewpass" runat="server" Width="170px" TextMode="Password"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtconfirm"
                            ErrorMessage="(*)"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        Nhập lại mật khẩu mới:
                    </td>
                    <td>
                        <asp:TextBox ID="txtConfirm" runat="server" Width="170px" TextMode="Password"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtconfirm"
                            ErrorMessage="(*)"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2" valign="middle">
                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txtNewpass"
                            ControlToValidate="txtconfirm" ErrorMessage="Nhập lại mật khẩu mới!"></asp:CompareValidator>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="middle">
                        &nbsp;
                    </td>
                    <td align="left">
                        <asp:Button ID="Button1" runat="server" Text="Thay đổi" 
                            onclick="Button1_Click" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:Label ID="Label1" runat="server" ForeColor="#CC0000"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
            </table>
            </div>
        </div>
    </div>
</div>
        </asp:Panel>